package com.aji.winepojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
@TableName(value ="wine")
public class Wine {
    @TableId(type = IdType.AUTO)
    private Integer wineId;
    private String wineName;
    private String spectrum;
    private LocalDateTime createTime;
    private LocalDateTime changeTime;
    private Integer wineClass;
    private Integer wineIdent;
    private String agingCondition;
    private String pictureUrl;
}
